<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : ContactFilter</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='ContactFilter::ContactFilter'>ContactFilter</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li>Object</li></ul>
</section>

</section>

<section id="summary">

 Implement a subtype of this class and pass it as the argument to
 world.setContactFilter to provide collision filtering.
 In other words, you can implement this class if you want finer control over
 contact creation.
</section>

<section id="fields">
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='ContactFilter.html#ContactFilter::ContactFilter'>ContactFilter</a>()</code>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code><code><a href='bool.html#bool::bool'>bool</a></code> <a name='ContactFilter::shouldCollide'>shouldCollide</a>(<code><a href='Fixture.html#Fixture::Fixture'>Fixture</a></code> <a name='ContactFilter::shouldCollide::fixtureA'>fixtureA</a>, <code><a href='Fixture.html#Fixture::Fixture'>Fixture</a></code> <a name='ContactFilter::shouldCollide::fixtureB'>fixtureB</a>)</code></dt>
<dd>

 Return true if contact calculations should be performed between these two
 shapes.
</dd>
</dl>
</section>

<footer></footer>

</body></html>
